package com.ls.blog.mapper;

import org.junit.jupiter.api.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @program: blog
 * @author: lishun
 * @create: 2021-09-20 12:28
 **/
public class ProducePassword {

    @Test
    public void produce(){
        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        String admin = bCryptPasswordEncoder.encode("admin");
        System.out.println(admin);
    }
}
